a(a(divides, 0), a(s, y)) → true
a(a(divides, a(s, x)), a(s, y)) → a(a(a(div2, x), a(s, y)), y)
a(a(a(div2, x), y), 0) → a(a(divides, x), y)
a(a(a(div2, 0), y), a(s, z)) → false
a(a(a(div2, a(s, x)), y), a(s, z)) → a(a(a(div2, x), y), z)
a(a(filter, f), nil) → nil
a(a(filter, f), a(a(cons, x), xs)) → a(a(a(if, a(f, x)), x), a(a(filter, f), xs))
a(a(a(if, true), x), xs) → a(a(cons, x), xs)
a(a(a(if, false), x), xs) → xs
a(a(not, f), x) → a(not2, a(f, x))
a(not2, true) → false
a(not2, false) → true
a(sieve, nil) → nil
a(sieve, a(a(cons, x), xs)) → a(a(cons, x), a(sieve, a(a(filter, a(not, a(divides, x))), xs)))
↳ QTRS
↳ Overlay + Local Confluence
a(a(divides, 0), a(s, y)) → true
a(a(divides, a(s, x)), a(s, y)) → a(a(a(div2, x), a(s, y)), y)
a(a(a(div2, x), y), 0) → a(a(divides, x), y)
a(a(a(div2, 0), y), a(s, z)) → false
a(a(a(div2, a(s, x)), y), a(s, z)) → a(a(a(div2, x), y), z)
a(a(filter, f), nil) → nil
a(a(filter, f), a(a(cons, x), xs)) → a(a(a(if, a(f, x)), x), a(a(filter, f), xs))
a(a(a(if, true), x), xs) → a(a(cons, x), xs)
a(a(a(if, false), x), xs) → xs
a(a(not, f), x) → a(not2, a(f, x))
a(not2, true) → false
a(not2, false) → true
a(sieve, nil) → nil
a(sieve, a(a(cons, x), xs)) → a(a(cons, x), a(sieve, a(a(filter, a(not, a(divides, x))), xs)))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
a(a(divides, 0), a(s, y)) → true
a(a(divides, a(s, x)), a(s, y)) → a(a(a(div2, x), a(s, y)), y)
a(a(a(div2, x), y), 0) → a(a(divides, x), y)
a(a(a(div2, 0), y), a(s, z)) → false
a(a(a(div2, a(s, x)), y), a(s, z)) → a(a(a(div2, x), y), z)
a(a(filter, f), nil) → nil
a(a(filter, f), a(a(cons, x), xs)) → a(a(a(if, a(f, x)), x), a(a(filter, f), xs))
a(a(a(if, true), x), xs) → a(a(cons, x), xs)
a(a(a(if, false), x), xs) → xs
a(a(not, f), x) → a(not2, a(f, x))
a(not2, true) → false
a(not2, false) → true
a(sieve, nil) → nil
a(sieve, a(a(cons, x), xs)) → a(a(cons, x), a(sieve, a(a(filter, a(not, a(divides, x))), xs)))
a(a(divides, 0), a(s, x0))
a(a(divides, a(s, x0)), a(s, x1))
a(a(a(div2, x0), x1), 0)
a(a(a(div2, 0), x0), a(s, x1))
a(a(a(div2, a(s, x0)), x1), a(s, x2))
a(a(filter, x0), nil)
a(a(filter, x0), a(a(cons, x1), x2))
a(a(a(if, true), x0), x1)
a(a(a(if, false), x0), x1)
a(a(not, x0), x1)
a(not2, true)
a(not2, false)
a(sieve, nil)
a(sieve, a(a(cons, x0), x1))
A(sieve, a(a(cons, x), xs)) → A(a(filter, a(not, a(divides, x))), xs)
A(a(a(div2, a(s, x)), y), a(s, z)) → A(div2, x)
A(a(a(div2, x), y), 0) → A(a(divides, x), y)
A(a(filter, f), a(a(cons, x), xs)) → A(a(filter, f), xs)
A(a(not, f), x) → A(not2, a(f, x))
A(a(filter, f), a(a(cons, x), xs)) → A(f, x)
A(sieve, a(a(cons, x), xs)) → A(filter, a(not, a(divides, x)))
A(sieve, a(a(cons, x), xs)) → A(sieve, a(a(filter, a(not, a(divides, x))), xs))
A(a(a(if, true), x), xs) → A(cons, x)
A(a(a(div2, a(s, x)), y), a(s, z)) → A(a(div2, x), y)
A(a(divides, a(s, x)), a(s, y)) → A(a(a(div2, x), a(s, y)), y)
A(a(a(if, true), x), xs) → A(a(cons, x), xs)
A(a(a(div2, a(s, x)), y), a(s, z)) → A(a(a(div2, x), y), z)
A(a(filter, f), a(a(cons, x), xs)) → A(a(a(if, a(f, x)), x), a(a(filter, f), xs))
A(a(a(div2, x), y), 0) → A(divides, x)
A(sieve, a(a(cons, x), xs)) → A(not, a(divides, x))
A(a(filter, f), a(a(cons, x), xs)) → A(a(if, a(f, x)), x)
A(a(divides, a(s, x)), a(s, y)) → A(div2, x)
A(sieve, a(a(cons, x), xs)) → A(divides, x)
A(a(divides, a(s, x)), a(s, y)) → A(a(div2, x), a(s, y))
A(a(not, f), x) → A(f, x)
A(sieve, a(a(cons, x), xs)) → A(a(cons, x), a(sieve, a(a(filter, a(not, a(divides, x))), xs)))
A(a(filter, f), a(a(cons, x), xs)) → A(if, a(f, x))
a(a(divides, 0), a(s, y)) → true
a(a(divides, a(s, x)), a(s, y)) → a(a(a(div2, x), a(s, y)), y)
a(a(a(div2, x), y), 0) → a(a(divides, x), y)
a(a(a(div2, 0), y), a(s, z)) → false
a(a(a(div2, a(s, x)), y), a(s, z)) → a(a(a(div2, x), y), z)
a(a(filter, f), nil) → nil
a(a(filter, f), a(a(cons, x), xs)) → a(a(a(if, a(f, x)), x), a(a(filter, f), xs))
a(a(a(if, true), x), xs) → a(a(cons, x), xs)
a(a(a(if, false), x), xs) → xs
a(a(not, f), x) → a(not2, a(f, x))
a(not2, true) → false
a(not2, false) → true
a(sieve, nil) → nil
a(sieve, a(a(cons, x), xs)) → a(a(cons, x), a(sieve, a(a(filter, a(not, a(divides, x))), xs)))
a(a(divides, 0), a(s, x0))
a(a(divides, a(s, x0)), a(s, x1))
a(a(a(div2, x0), x1), 0)
a(a(a(div2, 0), x0), a(s, x1))
a(a(a(div2, a(s, x0)), x1), a(s, x2))
a(a(filter, x0), nil)
a(a(filter, x0), a(a(cons, x1), x2))
a(a(a(if, true), x0), x1)
a(a(a(if, false), x0), x1)
a(a(not, x0), x1)
a(not2, true)
a(not2, false)
a(sieve, nil)
a(sieve, a(a(cons, x0), x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
A(sieve, a(a(cons, x), xs)) → A(a(filter, a(not, a(divides, x))), xs)
A(a(a(div2, a(s, x)), y), a(s, z)) → A(div2, x)
A(a(a(div2, x), y), 0) → A(a(divides, x), y)
A(a(filter, f), a(a(cons, x), xs)) → A(a(filter, f), xs)
A(a(not, f), x) → A(not2, a(f, x))
A(a(filter, f), a(a(cons, x), xs)) → A(f, x)
A(sieve, a(a(cons, x), xs)) → A(filter, a(not, a(divides, x)))
A(sieve, a(a(cons, x), xs)) → A(sieve, a(a(filter, a(not, a(divides, x))), xs))
A(a(a(if, true), x), xs) → A(cons, x)
A(a(a(div2, a(s, x)), y), a(s, z)) → A(a(div2, x), y)
A(a(divides, a(s, x)), a(s, y)) → A(a(a(div2, x), a(s, y)), y)
A(a(a(if, true), x), xs) → A(a(cons, x), xs)
A(a(a(div2, a(s, x)), y), a(s, z)) → A(a(a(div2, x), y), z)
A(a(filter, f), a(a(cons, x), xs)) → A(a(a(if, a(f, x)), x), a(a(filter, f), xs))
A(a(a(div2, x), y), 0) → A(divides, x)
A(sieve, a(a(cons, x), xs)) → A(not, a(divides, x))
A(a(filter, f), a(a(cons, x), xs)) → A(a(if, a(f, x)), x)
A(a(divides, a(s, x)), a(s, y)) → A(div2, x)
A(sieve, a(a(cons, x), xs)) → A(divides, x)
A(a(divides, a(s, x)), a(s, y)) → A(a(div2, x), a(s, y))
A(a(not, f), x) → A(f, x)
A(sieve, a(a(cons, x), xs)) → A(a(cons, x), a(sieve, a(a(filter, a(not, a(divides, x))), xs)))
A(a(filter, f), a(a(cons, x), xs)) → A(if, a(f, x))
a(a(divides, 0), a(s, y)) → true
a(a(divides, a(s, x)), a(s, y)) → a(a(a(div2, x), a(s, y)), y)
a(a(a(div2, x), y), 0) → a(a(divides, x), y)
a(a(a(div2, 0), y), a(s, z)) → false
a(a(a(div2, a(s, x)), y), a(s, z)) → a(a(a(div2, x), y), z)
a(a(filter, f), nil) → nil
a(a(filter, f), a(a(cons, x), xs)) → a(a(a(if, a(f, x)), x), a(a(filter, f), xs))
a(a(a(if, true), x), xs) → a(a(cons, x), xs)
a(a(a(if, false), x), xs) → xs
a(a(not, f), x) → a(not2, a(f, x))
a(not2, true) → false
a(not2, false) → true
a(sieve, nil) → nil
a(sieve, a(a(cons, x), xs)) → a(a(cons, x), a(sieve, a(a(filter, a(not, a(divides, x))), xs)))
a(a(divides, 0), a(s, x0))
a(a(divides, a(s, x0)), a(s, x1))
a(a(a(div2, x0), x1), 0)
a(a(a(div2, 0), x0), a(s, x1))
a(a(a(div2, a(s, x0)), x1), a(s, x2))
a(a(filter, x0), nil)
a(a(filter, x0), a(a(cons, x1), x2))
a(a(a(if, true), x0), x1)
a(a(a(if, false), x0), x1)
a(a(not, x0), x1)
a(not2, true)
a(not2, false)
a(sieve, nil)
a(sieve, a(a(cons, x0), x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
A(a(a(div2, x), y), 0) → A(a(divides, x), y)
A(a(divides, a(s, x)), a(s, y)) → A(a(a(div2, x), a(s, y)), y)
A(a(a(div2, a(s, x)), y), a(s, z)) → A(a(a(div2, x), y), z)
a(a(divides, 0), a(s, y)) → true
a(a(divides, a(s, x)), a(s, y)) → a(a(a(div2, x), a(s, y)), y)
a(a(a(div2, x), y), 0) → a(a(divides, x), y)
a(a(a(div2, 0), y), a(s, z)) → false
a(a(a(div2, a(s, x)), y), a(s, z)) → a(a(a(div2, x), y), z)
a(a(filter, f), nil) → nil
a(a(filter, f), a(a(cons, x), xs)) → a(a(a(if, a(f, x)), x), a(a(filter, f), xs))
a(a(a(if, true), x), xs) → a(a(cons, x), xs)
a(a(a(if, false), x), xs) → xs
a(a(not, f), x) → a(not2, a(f, x))
a(not2, true) → false
a(not2, false) → true
a(sieve, nil) → nil
a(sieve, a(a(cons, x), xs)) → a(a(cons, x), a(sieve, a(a(filter, a(not, a(divides, x))), xs)))
a(a(divides, 0), a(s, x0))
a(a(divides, a(s, x0)), a(s, x1))
a(a(a(div2, x0), x1), 0)
a(a(a(div2, 0), x0), a(s, x1))
a(a(a(div2, a(s, x0)), x1), a(s, x2))
a(a(filter, x0), nil)
a(a(filter, x0), a(a(cons, x1), x2))
a(a(a(if, true), x0), x1)
a(a(a(if, false), x0), x1)
a(a(not, x0), x1)
a(not2, true)
a(not2, false)
a(sieve, nil)
a(sieve, a(a(cons, x0), x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ ATransformationProof
↳ QDP
A(a(a(div2, x), y), 0) → A(a(divides, x), y)
A(a(divides, a(s, x)), a(s, y)) → A(a(a(div2, x), a(s, y)), y)
A(a(a(div2, a(s, x)), y), a(s, z)) → A(a(a(div2, x), y), z)
a(a(divides, 0), a(s, x0))
a(a(divides, a(s, x0)), a(s, x1))
a(a(a(div2, x0), x1), 0)
a(a(a(div2, 0), x0), a(s, x1))
a(a(a(div2, a(s, x0)), x1), a(s, x2))
a(a(filter, x0), nil)
a(a(filter, x0), a(a(cons, x1), x2))
a(a(a(if, true), x0), x1)
a(a(a(if, false), x0), x1)
a(a(not, x0), x1)
a(not2, true)
a(not2, false)
a(sieve, nil)
a(sieve, a(a(cons, x0), x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ ATransformationProof
↳ QDP
↳ QReductionProof
↳ QDP
div21(s(x), y, s(z)) → div21(x, y, z)
divides1(s(x), s(y)) → div21(x, s(y), y)
div21(x, y, 0) → divides1(x, y)
divides(0, s(x0))
divides(s(x0), s(x1))
div2(x0, x1, 0)
div2(0, x0, s(x1))
div2(s(x0), x1, s(x2))
filter(x0, nil)
filter(x0, cons(x1, x2))
if(true, x0, x1)
if(false, x0, x1)
not(x0, x1)
not2(true)
not2(false)
sieve(nil)
sieve(cons(x0, x1))
divides(0, s(x0))
divides(s(x0), s(x1))
div2(x0, x1, 0)
div2(0, x0, s(x1))
div2(s(x0), x1, s(x2))
filter(x0, nil)
filter(x0, cons(x1, x2))
if(true, x0, x1)
if(false, x0, x1)
not(x0, x1)
not2(true)
not2(false)
sieve(nil)
sieve(cons(x0, x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ ATransformationProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
divides1(s(x), s(y)) → div21(x, s(y), y)
div21(s(x), y, s(z)) → div21(x, y, z)
div21(x, y, 0) → divides1(x, y)
From the DPs we obtained the following set of size-change graphs:
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPApplicativeOrderProof
A(sieve, a(a(cons, x), xs)) → A(a(filter, a(not, a(divides, x))), xs)
A(a(filter, f), a(a(cons, x), xs)) → A(a(filter, f), xs)
A(a(not, f), x) → A(f, x)
A(a(filter, f), a(a(cons, x), xs)) → A(f, x)
A(sieve, a(a(cons, x), xs)) → A(sieve, a(a(filter, a(not, a(divides, x))), xs))
a(a(divides, 0), a(s, y)) → true
a(a(divides, a(s, x)), a(s, y)) → a(a(a(div2, x), a(s, y)), y)
a(a(a(div2, x), y), 0) → a(a(divides, x), y)
a(a(a(div2, 0), y), a(s, z)) → false
a(a(a(div2, a(s, x)), y), a(s, z)) → a(a(a(div2, x), y), z)
a(a(filter, f), nil) → nil
a(a(filter, f), a(a(cons, x), xs)) → a(a(a(if, a(f, x)), x), a(a(filter, f), xs))
a(a(a(if, true), x), xs) → a(a(cons, x), xs)
a(a(a(if, false), x), xs) → xs
a(a(not, f), x) → a(not2, a(f, x))
a(not2, true) → false
a(not2, false) → true
a(sieve, nil) → nil
a(sieve, a(a(cons, x), xs)) → a(a(cons, x), a(sieve, a(a(filter, a(not, a(divides, x))), xs)))
a(a(divides, 0), a(s, x0))
a(a(divides, a(s, x0)), a(s, x1))
a(a(a(div2, x0), x1), 0)
a(a(a(div2, 0), x0), a(s, x1))
a(a(a(div2, a(s, x0)), x1), a(s, x2))
a(a(filter, x0), nil)
a(a(filter, x0), a(a(cons, x1), x2))
a(a(a(if, true), x0), x1)
a(a(a(if, false), x0), x1)
a(a(not, x0), x1)
a(not2, true)
a(not2, false)
a(sieve, nil)
a(sieve, a(a(cons, x0), x1))
cons(x, xs) → xs
cons(x, xs) → xs
x → x
cons(x, xs) → x
cons(x, xs) → filter(not(divides(x)), xs)
if(true, x, xs) → cons(x, xs)
filter(f, nil) → nil
if(false, x, xs) → xs
filter(f, cons(x, xs)) → if(notProper, x, filter(f, xs))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
A(sieve, a(a(cons, x), xs)) → A(a(filter, a(not, a(divides, x))), xs)
A(a(filter, f), a(a(cons, x), xs)) → A(a(filter, f), xs)
A(a(filter, f), a(a(cons, x), xs)) → A(f, x)
Used ordering: Polynomial interpretation [25]:
A(a(not, f), x) → A(f, x)
A(sieve, a(a(cons, x), xs)) → A(sieve, a(a(filter, a(not, a(divides, x))), xs))
POL(cons(x1, x2)) = 1 + x1 + x2
POL(divides(x1)) = 1
POL(false) = 0
POL(filter(x1, x2)) = x1 + x2
POL(if(x1, x2, x3)) = 1 + x2 + x3
POL(nil) = 0
POL(not(x1)) = x1
POL(notProper) = 0
POL(true) = 0
a(a(a(if, true), x), xs) → a(a(cons, x), xs)
a(a(filter, f), nil) → nil
a(a(a(if, false), x), xs) → xs
a(a(filter, f), a(a(cons, x), xs)) → a(a(a(if, a(f, x)), x), a(a(filter, f), xs))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPApplicativeOrderProof
↳ QDP
↳ DependencyGraphProof
A(a(not, f), x) → A(f, x)
A(sieve, a(a(cons, x), xs)) → A(sieve, a(a(filter, a(not, a(divides, x))), xs))
a(a(divides, 0), a(s, y)) → true
a(a(divides, a(s, x)), a(s, y)) → a(a(a(div2, x), a(s, y)), y)
a(a(a(div2, x), y), 0) → a(a(divides, x), y)
a(a(a(div2, 0), y), a(s, z)) → false
a(a(a(div2, a(s, x)), y), a(s, z)) → a(a(a(div2, x), y), z)
a(a(filter, f), nil) → nil
a(a(filter, f), a(a(cons, x), xs)) → a(a(a(if, a(f, x)), x), a(a(filter, f), xs))
a(a(a(if, true), x), xs) → a(a(cons, x), xs)
a(a(a(if, false), x), xs) → xs
a(a(not, f), x) → a(not2, a(f, x))
a(not2, true) → false
a(not2, false) → true
a(sieve, nil) → nil
a(sieve, a(a(cons, x), xs)) → a(a(cons, x), a(sieve, a(a(filter, a(not, a(divides, x))), xs)))
a(a(divides, 0), a(s, x0))
a(a(divides, a(s, x0)), a(s, x1))
a(a(a(div2, x0), x1), 0)
a(a(a(div2, 0), x0), a(s, x1))
a(a(a(div2, a(s, x0)), x1), a(s, x2))
a(a(filter, x0), nil)
a(a(filter, x0), a(a(cons, x1), x2))
a(a(a(if, true), x0), x1)
a(a(a(if, false), x0), x1)
a(a(not, x0), x1)
a(not2, true)
a(not2, false)
a(sieve, nil)
a(sieve, a(a(cons, x0), x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPApplicativeOrderProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPApplicativeOrderProof
↳ QDP
A(sieve, a(a(cons, x), xs)) → A(sieve, a(a(filter, a(not, a(divides, x))), xs))
a(a(divides, 0), a(s, y)) → true
a(a(divides, a(s, x)), a(s, y)) → a(a(a(div2, x), a(s, y)), y)
a(a(a(div2, x), y), 0) → a(a(divides, x), y)
a(a(a(div2, 0), y), a(s, z)) → false
a(a(a(div2, a(s, x)), y), a(s, z)) → a(a(a(div2, x), y), z)
a(a(filter, f), nil) → nil
a(a(filter, f), a(a(cons, x), xs)) → a(a(a(if, a(f, x)), x), a(a(filter, f), xs))
a(a(a(if, true), x), xs) → a(a(cons, x), xs)
a(a(a(if, false), x), xs) → xs
a(a(not, f), x) → a(not2, a(f, x))
a(not2, true) → false
a(not2, false) → true
a(sieve, nil) → nil
a(sieve, a(a(cons, x), xs)) → a(a(cons, x), a(sieve, a(a(filter, a(not, a(divides, x))), xs)))
a(a(divides, 0), a(s, x0))
a(a(divides, a(s, x0)), a(s, x1))
a(a(a(div2, x0), x1), 0)
a(a(a(div2, 0), x0), a(s, x1))
a(a(a(div2, a(s, x0)), x1), a(s, x2))
a(a(filter, x0), nil)
a(a(filter, x0), a(a(cons, x1), x2))
a(a(a(if, true), x0), x1)
a(a(a(if, false), x0), x1)
a(a(not, x0), x1)
a(not2, true)
a(not2, false)
a(sieve, nil)
a(sieve, a(a(cons, x0), x1))
sieve1(cons(x, xs)) → sieve1(filter(not(divides(x)), xs))
if(true, x, xs) → cons(x, xs)
filter(f, nil) → nil
if(false, x, xs) → xs
filter(f, cons(x, xs)) → if(notProper, x, filter(f, xs))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
A(sieve, a(a(cons, x), xs)) → A(sieve, a(a(filter, a(not, a(divides, x))), xs))
POL(cons(x1, x2)) = 1 + x2
POL(divides(x1)) = 0
POL(false) = 0
POL(filter(x1, x2)) = x2
POL(if(x1, x2, x3)) = 1 + x3
POL(nil) = 0
POL(not(x1)) = 0
POL(notProper) = 0
POL(sieve1(x1)) = x1
POL(true) = 0
a(a(a(if, true), x), xs) → a(a(cons, x), xs)
a(a(filter, f), nil) → nil
a(a(a(if, false), x), xs) → xs
a(a(filter, f), a(a(cons, x), xs)) → a(a(a(if, a(f, x)), x), a(a(filter, f), xs))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPApplicativeOrderProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPApplicativeOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
a(a(divides, 0), a(s, y)) → true
a(a(divides, a(s, x)), a(s, y)) → a(a(a(div2, x), a(s, y)), y)
a(a(a(div2, x), y), 0) → a(a(divides, x), y)
a(a(a(div2, 0), y), a(s, z)) → false
a(a(a(div2, a(s, x)), y), a(s, z)) → a(a(a(div2, x), y), z)
a(a(filter, f), nil) → nil
a(a(filter, f), a(a(cons, x), xs)) → a(a(a(if, a(f, x)), x), a(a(filter, f), xs))
a(a(a(if, true), x), xs) → a(a(cons, x), xs)
a(a(a(if, false), x), xs) → xs
a(a(not, f), x) → a(not2, a(f, x))
a(not2, true) → false
a(not2, false) → true
a(sieve, nil) → nil
a(sieve, a(a(cons, x), xs)) → a(a(cons, x), a(sieve, a(a(filter, a(not, a(divides, x))), xs)))
a(a(divides, 0), a(s, x0))
a(a(divides, a(s, x0)), a(s, x1))
a(a(a(div2, x0), x1), 0)
a(a(a(div2, 0), x0), a(s, x1))
a(a(a(div2, a(s, x0)), x1), a(s, x2))
a(a(filter, x0), nil)
a(a(filter, x0), a(a(cons, x1), x2))
a(a(a(if, true), x0), x1)
a(a(a(if, false), x0), x1)
a(a(not, x0), x1)
a(not2, true)
a(not2, false)
a(sieve, nil)
a(sieve, a(a(cons, x0), x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPApplicativeOrderProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
A(a(not, f), x) → A(f, x)
a(a(divides, 0), a(s, y)) → true
a(a(divides, a(s, x)), a(s, y)) → a(a(a(div2, x), a(s, y)), y)
a(a(a(div2, x), y), 0) → a(a(divides, x), y)
a(a(a(div2, 0), y), a(s, z)) → false
a(a(a(div2, a(s, x)), y), a(s, z)) → a(a(a(div2, x), y), z)
a(a(filter, f), nil) → nil
a(a(filter, f), a(a(cons, x), xs)) → a(a(a(if, a(f, x)), x), a(a(filter, f), xs))
a(a(a(if, true), x), xs) → a(a(cons, x), xs)
a(a(a(if, false), x), xs) → xs
a(a(not, f), x) → a(not2, a(f, x))
a(not2, true) → false
a(not2, false) → true
a(sieve, nil) → nil
a(sieve, a(a(cons, x), xs)) → a(a(cons, x), a(sieve, a(a(filter, a(not, a(divides, x))), xs)))
a(a(divides, 0), a(s, x0))
a(a(divides, a(s, x0)), a(s, x1))
a(a(a(div2, x0), x1), 0)
a(a(a(div2, 0), x0), a(s, x1))
a(a(a(div2, a(s, x0)), x1), a(s, x2))
a(a(filter, x0), nil)
a(a(filter, x0), a(a(cons, x1), x2))
a(a(a(if, true), x0), x1)
a(a(a(if, false), x0), x1)
a(a(not, x0), x1)
a(not2, true)
a(not2, false)
a(sieve, nil)
a(sieve, a(a(cons, x0), x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPApplicativeOrderProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDPSizeChangeProof
A(a(not, f), x) → A(f, x)
a(a(divides, 0), a(s, x0))
a(a(divides, a(s, x0)), a(s, x1))
a(a(a(div2, x0), x1), 0)
a(a(a(div2, 0), x0), a(s, x1))
a(a(a(div2, a(s, x0)), x1), a(s, x2))
a(a(filter, x0), nil)
a(a(filter, x0), a(a(cons, x1), x2))
a(a(a(if, true), x0), x1)
a(a(a(if, false), x0), x1)
a(a(not, x0), x1)
a(not2, true)
a(not2, false)
a(sieve, nil)
a(sieve, a(a(cons, x0), x1))
From the DPs we obtained the following set of size-change graphs: